package service;

import dao.NewTimeDao;
import entity.NewTime;

public class NewTimeService {

	private NewTimeDao newTimeDao = new NewTimeDao();

	public NewTime findNewtimeByUseridAndProjectid(String userid, String projectid) {
		
		return newTimeDao.findNewtimeByUseridAndProjectid(userid,projectid);
	}

	public void save(NewTime newTime) {
		newTimeDao.save(newTime);
	}

	public void update(NewTime newTime) {
		newTimeDao.update(newTime);
		
	}
}
